package com.sz.demo.strategy;

import com.sz.demo.ShoppingCart;
import java.math.BigDecimal;

/**
 * 定价策略接口
 */
public interface PricingStrategy {
    /**
     * 计算总价
     */
    BigDecimal calculateTotal(ShoppingCart cart);
}
